﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
    <style type="text/css">
        .style4
        {
            width: 434px;
        }
    </style>
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <table cellspacing="0" cellpadding="2" style="width:100%;" class="cssTable" border="0">
<tr>
    <td align="center" class="cssPageTitleBG">
        <asp:label id="lbl_cv_ca_nhan" runat="server" CssClass="cssThongBao" Text="Công việc cá nhân"/>
    </td>
</tr>
<tr>
    <td align="center">
		<asp:label id="lbl_chon_da" CssClass="cssManField" runat="server" Text="Danh sách công việc chưa hoàn thiện của dự án:"/>      
			<asp:DropDownList id="m_cbo_chon_du_an" runat="server" 
                        CssClass="cssDorpdownlist" >
                    </asp:DropDownList>
    </td>
</tr>
<tr>
    <td>
        <asp:GridView ID="m_grv_ds_tv_da" runat="server" AutoGenerateColumns="False" 
            Width="100%" BackColor="White" BorderColor="#999999" BorderStyle="None" 
            BorderWidth="1px" CellPadding="3" GridLines="Vertical">
            <AlternatingRowStyle BackColor="#DCDCDC" />
            <Columns>
                <asp:TemplateField HeaderText="STT">
                <ItemTemplate>
                            <%# Container.DataItemIndex +1 %>
                        </ItemTemplate>
                <ItemStyle Height="10px"/>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Công việc">
                <ItemTemplate>
                            <%# mapping_cong_viec_by_id(Eval("ID_CONG_VIEC_DU_AN"))%>
                        </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Mã dự án">
                <ItemTemplate>
                            <%# mapping_ma_du_an_by_id(Eval("ID_DU_AN"))%>
                        </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="THOI_GIAN_KET_THUC" HeaderText="Hạn hoàn thành" />
                <asp:TemplateField HeaderText="Trạng thái">
                <ItemTemplate>
                            <%# mapping_trang_thai_da_by_id(Eval("ID_TRANG_THAI_CONG_VIEC"))%>
                        </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Cập nhật trạng thái ">
                 <ItemTemplate>
                            <asp:LinkButton runat="server" ID="m_lbt_chi_tiet" CommandName="Update" ToolTip="Cập nhật trạng thái công việc" CausesValidation="false"><center><img src="" width="20px" height="20px" alt="Cập nhật" /></center></asp:LinkButton>
                        </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <FooterStyle BackColor="#CCCCCC" ForeColor="Black" />
            <HeaderStyle BackColor="#000084" Font-Bold="True" ForeColor="White" />
            <PagerStyle BackColor="#999999" ForeColor="Black" HorizontalAlign="Center" />
            <RowStyle BackColor="#EEEEEE" ForeColor="Black" />
            <SelectedRowStyle BackColor="#008A8C" Font-Bold="True" ForeColor="White" />
            <SortedAscendingCellStyle BackColor="#F1F1F1" />
            <SortedAscendingHeaderStyle BackColor="#0000A9" />
            <SortedDescendingCellStyle BackColor="#CAC9C9" />
            <SortedDescendingHeaderStyle BackColor="#000065" />
        </asp:GridView>
    </td>
</tr>
</table>
</asp:Content>
